package com.bj58.mis.apm.collector.kydata;

import com.bj58.mis.apm.client.core.BaseCollectLog;

import java.util.List;
import java.util.Map;

/**
 * kylin数据对象,接收client上报的数据
 * @author wxw
 */
public class KylinData extends BaseCollectLog {

    /**
     * 项目数据
     */
    private List<Map<String, Object>> projects;
    /**
     * cube设计数据
     */
    private List<Map<String, Object>> cubeDescs;
    /**
     * cube数据
     */
    private List<Map<String, Object>> cubes;
    /**
     * 任务数据
     */
    private List<Map<String, Object>> jobs;
    /**
     * cuboid数据
     */
    private List<Map<String, Object>> cuboids;
    /**
     * table数据
     */
    private List<Map<String, Object>> tables;
    /**
     * model数据
     */
    private List<Map<String, Object>> models;
    /**
     * job执行日志
     */
    private List<Map<String, Object>> jobOutputs;
    /**
     * 上次上报最后修改时间
     */
    private Long lastModified;

    public List<Map<String, Object>> getProjects() {
        return projects;
    }

    public void setProjects(List<Map<String, Object>> projects) {
        this.projects = projects;
    }

    public List<Map<String, Object>> getCubeDescs() {
        return cubeDescs;
    }

    public void setCubeDescs(List<Map<String, Object>> cubeDescs) {
        this.cubeDescs = cubeDescs;
    }

    public List<Map<String, Object>> getCubes() {
        return cubes;
    }

    public void setCubes(List<Map<String, Object>> cubes) {
        this.cubes = cubes;
    }

    public List<Map<String, Object>> getJobs() {
        return jobs;
    }

    public void setJobs(List<Map<String, Object>> jobs) {
        this.jobs = jobs;
    }

    public List<Map<String, Object>> getCuboids() {
        return cuboids;
    }

    public void setCuboids(List<Map<String, Object>> cuboids) {
        this.cuboids = cuboids;
    }

    public Long getLastModified() {
        return lastModified;
    }

    public void setLastModified(Long lastModified) {
        this.lastModified = lastModified;
    }

    public List<Map<String, Object>> getTables() {
        return tables;
    }

    public void setTables(List<Map<String, Object>> tables) {
        this.tables = tables;
    }

    public List<Map<String, Object>> getModels() {
        return models;
    }

    public void setModels(List<Map<String, Object>> models) {
        this.models = models;
    }

    public List<Map<String, Object>> getJobOutputs() {
        return jobOutputs;
    }

    public void setJobOutputs(List<Map<String, Object>> jobOutputs) {
        this.jobOutputs = jobOutputs;
    }

    @Override
    public String getCollectType() {
        return "kylin_data";
    }
}